home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
xwall
/
Xsetup.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1995-06-20
|
463b
|
16 lines
#!/bin/sh
# Give root the keys to the DISPLAY
xauth list | sed "s/.*:[^ ]*/add $DISPLAY/" | xauth -f /.Xauthority
# if the DISPLAY does not contain a host name,
# also give the keys to the tcp/ip domain DISPLAY name.
host=`echo $DISPLAY | sed "s/:.*/X/"`
if [ $host = "X" ]
then
xauth list | sed "s/.*:[^ ]*/add `hostname`$DISPLAY/" | xauth -f /.Xauthority
fi
#start clients
xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
xwalld